package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

@Data
@Builder
public class LiveListResponse {
    @ApiModelProperty(value = "直播间列表", dataType = "LiveListResponse.Live")
    private PageResponse2<Live> livePage;

    @ApiModel("LiveListResponse.Live")
    @Data
    @Builder
    public static class Live {
        @ApiModelProperty("直播ID")
        private Integer roomId;
        @ApiModelProperty("直播标题")
        private String title;
        @ApiModelProperty("直播图片")
        private String photo;
        @ApiModelProperty("状态图片:直播中 预告 回放")
        private String status;
        @ApiModelProperty("观看人数")
        private Integer viewNum;
        private Long time;

        private Integer userId;
        @ApiModelProperty("直播用户头像")
        private String userImg;
        @ApiModelProperty("直播用户名称")
        private String userName;

        private Integer companyId;
        private String companyName;
        private String companyLogo;
    }
}
